package xpn.platform.modules.sys.user;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 修改密码 请求参数类
 *
 * @author duwei
 * @version 2017/11/14 18:03
 */
@Getter
@Setter
public class ChangePasswordDTO {

    @NotNull
    private String password;
    @NotNull
    private String newPassword;

    @Override
    public String toString() {
        return "ChangePasswordDTO{" +
                "password='" + password + '\'' +
                ", newPassword='" + newPassword + '\'' +
                '}';
    }
}
